<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>usbpsu: xusbpsu_ephandler.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">usbpsu
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xusbpsu__ephandler_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xusbpsu_ephandler.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0358f9d4714f7d4e19d429ccf8cc6b26"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">XUsbPsu_StopTransfer</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir, u8 Force)</td></tr>
<tr class="memdesc:ga0358f9d4714f7d4e19d429ccf8cc6b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops transfer on Endpoint.  <a href="group__usbpsu__api.html#ga0358f9d4714f7d4e19d429ccf8cc6b26">More...</a><br/></td></tr>
<tr class="separator:ga0358f9d4714f7d4e19d429ccf8cc6b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdbae228fd638ec5e1598c4528a135cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gacdbae228fd638ec5e1598c4528a135cf">XUsbPsu_EpTransferDeactive</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEpNum, u8 Dir)</td></tr>
<tr class="memdesc:gacdbae228fd638ec5e1598c4528a135cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets and deactivates transfer endpoint.  <a href="group__usbpsu__api.html#gacdbae228fd638ec5e1598c4528a135cf">More...</a><br/></td></tr>
<tr class="separator:gacdbae228fd638ec5e1598c4528a135cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac5e91b20aedeff92c9aa7eed229c5c03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gac5e91b20aedeff92c9aa7eed229c5c03">XUsbPsu_SaveEndpointState</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, struct <a class="el" href="struct_x_usb_psu___ep.html">XUsbPsu_Ep</a> *Ept)</td></tr>
<tr class="memdesc:gac5e91b20aedeff92c9aa7eed229c5c03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries endpoint state and saves it in EpSavedState.  <a href="group__usbpsu__api.html#gac5e91b20aedeff92c9aa7eed229c5c03">More...</a><br/></td></tr>
<tr class="separator:gac5e91b20aedeff92c9aa7eed229c5c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga1f081ab527bf9b7a15bd24ebea69138b">XUsbPsu_ClearStalls</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears stall on all endpoints.  <a href="group__usbpsu__api.html#ga1f081ab527bf9b7a15bd24ebea69138b">More...</a><br/></td></tr>
<tr class="separator:ga1f081ab527bf9b7a15bd24ebea69138b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9a977327906f2995960e50d429703687"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">XUsbPsu_EpBufferSend</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 BufferLen)</td></tr>
<tr class="memdesc:ga9a977327906f2995960e50d429703687"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to send data on endpoint to the host.  <a href="group__usbpsu__api.html#ga9a977327906f2995960e50d429703687">More...</a><br/></td></tr>
<tr class="separator:ga9a977327906f2995960e50d429703687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0102ce2327d084245189584307ecdfe"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">XUsbPsu_EpBufferRecv</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 UsbEp, u8 *BufferPtr, u32 Length)</td></tr>
<tr class="memdesc:gad0102ce2327d084245189584307ecdfe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initiates DMA to receive data on endpoint from host.  <a href="group__usbpsu__api.html#gad0102ce2327d084245189584307ecdfe">More...</a><br/></td></tr>
<tr class="separator:gad0102ce2327d084245189584307ecdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">XUsbPsu_EpSetStall</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stalls an endpoint.  <a href="group__usbpsu__api.html#ga07f17ab6f8a9e4881fab867ff7e4ecaa">More...</a><br/></td></tr>
<tr class="separator:ga07f17ab6f8a9e4881fab867ff7e4ecaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">XUsbPsu_EpClearStall</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears stall on an endpoint.  <a href="group__usbpsu__api.html#gaeff04b67a7a4a8c63da2327c6ae5e81b">More...</a><br/></td></tr>
<tr class="separator:gaeff04b67a7a4a8c63da2327c6ae5e81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad585fe1304adfd139727220832c2dcf5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#gad585fe1304adfd139727220832c2dcf5">XUsbPsu_SetEpHandler</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir, void(*Handler)(void *, u32, u32))</td></tr>
<tr class="memdesc:gad585fe1304adfd139727220832c2dcf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets an user handler to be called after data is sent/received by an endpoint.  <a href="group__usbpsu__api.html#gad585fe1304adfd139727220832c2dcf5">More...</a><br/></td></tr>
<tr class="separator:gad585fe1304adfd139727220832c2dcf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">XUsbPsu_IsEpStalled</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, u8 Epnum, u8 Dir)</td></tr>
<tr class="memdesc:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns status of endpoint whether it is stalled or not.  <a href="group__usbpsu__api.html#ga940e5d8d4c56eec4e394507eb0e1ab8b">More...</a><br/></td></tr>
<tr class="separator:ga940e5d8d4c56eec4e394507eb0e1ab8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga5fdd7c08c30d46a9c3024ebe404d877e">XUsbPsu_EpXferComplete</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks the data phase and calls user endpoint handler.  <a href="group__usbpsu__api.html#ga5fdd7c08c30d46a9c3024ebe404d877e">More...</a><br/></td></tr>
<tr class="separator:ga5fdd7c08c30d46a9c3024ebe404d877e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d7229b7b3d937ed82f79c3ec35e97f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__usbpsu__api.html#ga2d7229b7b3d937ed82f79c3ec35e97f8">XUsbPsu_EpXferNotReady</a> (struct <a class="el" href="struct_x_usb_psu.html">XUsbPsu</a> *InstancePtr, const struct <a class="el" href="struct_x_usb_psu___event___epevt.html">XUsbPsu_Event_Epevt</a> *Event)</td></tr>
<tr class="memdesc:ga2d7229b7b3d937ed82f79c3ec35e97f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">For Isochronous transfer, gets the microframe time and calls respective endpoint handler.  <a href="group__usbpsu__api.html#ga2d7229b7b3d937ed82f79c3ec35e97f8">More...</a><br/></td></tr>
<tr class="separator:ga2d7229b7b3d937ed82f79c3ec35e97f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
